Global Index
HTML5 JS API Index > DOM Tutorials & Specs

HTMLElement

Extends Element. Implements GlobalEventHandlers, ElementCSSInlineStyle.

Extended by HTMLUnknownElement, HTMLHtmlElement, HTMLHeadElement, HTMLTitleElement, HTMLBaseElement, HTMLLinkElement, HTMLMetaElement, HTMLStyleElement, HTMLBodyElement, HTMLHeadingElement, HTMLParagraphElement, HTMLHRElement, HTMLPreElement, HTMLQuoteElement, HTMLOListElement, HTMLUListElement, HTMLLIElement, HTMLDListElement, HTMLDivElement, HTMLAnchorElement, HTMLDataElement, HTMLTimeElement, HTMLSpanElement, HTMLBRElement, HTMLModElement, HTMLImageElement, HTMLIFrameElement, HTMLEmbedElement, HTMLObjectElement, HTMLParamElement, HTMLMapElement, HTMLAreaElement, HTMLTableElement, HTMLTableCaptionElement, HTMLTableColElement, HTMLTableSectionElement, HTMLTableRowElement, HTMLTableCellElement, HTMLScriptElement, HTMLTemplateElement, HTMLFormElement, HTMLLabelElement, HTMLInputElement, HTMLButtonElement, HTMLSelectElement, HTMLDataListElement, HTMLOptGroupElement, HTMLOptionElement, HTMLTextAreaElement, HTMLKeygenElement, HTMLOutputElement, HTMLProgressElement, HTMLMeterElement, HTMLFieldSetElement, HTMLLegendElement, HTMLDetailsElement, HTMLMenuElement, HTMLMenuItemElement, HTMLDialogElement, HTMLSourceElement, HTMLTrackElement, HTMLMediaElement, HTMLCanvasElement, HTMLContentElement, HTMLShadowElement
Properties
DOMStringaccessKey
DOMStringaccessKeyLabel
boolean?
commandChecked
The commandChecked attribute must return true if the command's Checked State is that the command is checked, and false if it is that the command is not checked. If the element does not define a command, the attribute must return null.
boolean?
commandDisabled
The commandDisabled attribute must return true if the command's Disabled State is that the command is disabled, and false if the command is not disabled. This attribute is not affected by the command's Hidden State. If the element does not define a command, the attribute must return null.
boolean?
commandHidden
The commandHidden attribute must return true if the command's Hidden State is that the command is hidden, and false if the command is not hidden. If the element does not define a command, the attribute must return null.
DOMString?
commandIcon
The commandIcon attribute must return the absolute URL of the command's Icon. If the element does not specify an icon, or if the element does not define a command, then the attribute must return null.
DOMString?
commandLabel
The commandLabel attribute must return the command's Label, or null if the element does not define a command or does not specify a Label.
DOMString?
commandType
The commandType attribute must return a string whose value is either "command", "radio", or "checkbox", depending on whether the Type of the command defined by the element is "command", "radio", or "checkbox" respectively. If the element does not define a command, it must return null.
DOMStringcontentEditable
HTMLMenuElement?
contextMenu
The contextMenu IDL attribute must reflect the contextmenu content attribute.
DOMStringMap
dataset
The dataset IDL attribute provides convenient accessors for all the data-* attributes on an element.
DOMString
dir
The dir IDL attribute on an element must reflect the dir content attribute of that element, limited to only known values.
booleandraggable
DOMSettableTokenListdropzone
booleanhidden
booleanisContentEditable
DOMStringitemId
DOMSettableTokenListitemProp
DOMSettableTokenListitemRef
booleanitemScope
DOMSettableTokenListitemType
anyitemValue
DOMString
lang
The lang IDL attribute must reflect the lang content attribute in no namespace.
EventHandleronabort
EventHandleronautocomplete
EventHandleronautocompleteerror
EventHandleronblur
EventHandleroncancel
EventHandleroncanplay
EventHandleroncanplaythrough
EventHandleronchange
EventHandleronclick
EventHandleronclose
EventHandleroncontextmenu
EventHandleroncuechange
EventHandlerondblclick
EventHandlerondrag
EventHandlerondragend
EventHandlerondragenter
EventHandlerondragexit
EventHandlerondragleave
EventHandlerondragover
EventHandlerondragstart
EventHandlerondrop
EventHandlerondurationchange
EventHandleronemptied
EventHandleronended
OnErrorEventHandleronerror
EventHandleronfocus
EventHandleroninput
EventHandleroninvalid
EventHandleronkeydown
EventHandleronkeypress
EventHandleronkeyup
EventHandleronload
EventHandleronloadeddata
EventHandleronloadedmetadata
EventHandleronloadstart
EventHandleronmousedown
EventHandleronmouseenter
EventHandleronmouseleave
EventHandleronmousemove
EventHandleronmouseout
EventHandleronmouseover
EventHandleronmouseup
EventHandleronmousewheel
EventHandleronpause
EventHandleronplay
EventHandleronplaying
EventHandleronprogress
EventHandleronratechange
EventHandleronreset
EventHandleronresize
EventHandleronscroll
EventHandleronseeked
EventHandleronseeking
EventHandleronselect
EventHandleronshow
EventHandleronsort
EventHandleronstalled
EventHandleronsubmit
EventHandleronsuspend
EventHandlerontimeupdate
EventHandlerontoggle
EventHandleronvolumechange
EventHandleronwaiting
HTMLPropertiesCollectionproperties
booleanspellcheck
CSSStyleDeclarationstyle
longtabIndex
DOMString
title
The title IDL attribute must reflect the title content attribute.
boolean
translate
The translate IDL attribute must, on getting, return true if the element's translation mode is translate-enabled, and false otherwise. On setting, it must set the content attribute's value to "yes" if the new value is true, and set the content attribute's value to "no" otherwise.
Operations
voidblur()
voidclick()
voidfocus()
voidforceSpellCheck()
Referenced by
Documentbody
HTMLInputElementlist
HTMLLabelElementcontrol
HTMLMenuItemElementcommand
HTMLSelectElementadd(...)
HTMLTableElementinsertRow(...)
HTMLTableRowElementinsertCell(...)
HTMLTableSectionElementinsertRow(...)
ShadowRootgetElementById(...)